//
//  CoreDataManager.h
//  LOL视频播放
//
//  Created by 花花蔡 on 2016/12/13.
//  Copyright © 2016年 com.HuaHuaCai. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "Model+CoreDataClass.h"

@interface CoreDataManager : NSObject

@property(nonatomic,strong) NSManagedObjectContext *context;


+ (instancetype)manager;

- (BOOL)addDataWithPictureName:(NSString *)picture Title:(NSString *)title Date:(NSString *)date Count:(NSString *)count VideoURStr:(NSString *)url ;

- (NSArray *)searchData;

- (void)deleteForDataWithModel:(Model *)model;
@end
